package socket.client;

import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;

public class logo extends Activity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.logo);
		timeThread();
	}


	public void timeThread() {
		final Intent intent = new Intent(this, Login.class);
		//dialog = new ProgressDialog(this);
		//dialog.setTitle("Wait...");
		//dialog.setMessage("Please wait while loading...");
		//dialog.setIndeterminate(false);
		//dialog.setCancelable(true);
		//dialog.show();
		new Thread(new Runnable() {
			public void run() {
				// TODO Auto-generated method stub
				try {
					Thread.sleep(1000);
				} catch (Throwable ex) {
					ex.printStackTrace();
				}
				startActivity(intent);
			}
		}).start();
	}

} 

